<html>

<head>


<link rel="STYLESHEET" type="text/css" href="../common/styles.css">
</head>
<body>
	<table border="0" cellpadding="0" cellspacing="0" class="sample_header" zid="71">
		<tbody zid="3">
			<tr valign="center" zid="4">
				<td align="center" width="10" zid="5">&nbsp;</td>
				<td align="left" zid="6">
					<p zid="224">
						<a href="http://www.dhtmlx.com/" zid="7">DHTMLX</a> Documentation
					</p>
				</td>
			</tr>
		</tbody>
	</table>
	<!--- CONTENT. Starts --->
	<h1>Stat counters in the treeGrid</h1>
<BR id=v..h>
TreeGrid provides additional set of built in statistics counters (default statistics counters work only against visible rows, and will not work correctly in case of a grid, where some rows can be hidden in closed branches).<BR id=pzd1>
<BR id=twan>
#stat_tree_total &nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp; counts total of all values in a column;<BR id=l2u8>
#stat_tree_total_leaf &nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp; counts total of all values in a column, but includes only values on the last level of the tree; <BR id=s43o>
<BR id=el:q>
#stat_tree_multi_total&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;counts total of column multiplication;<BR id=xm90>
#stat_tree_multi_total_leaf&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;counts total of column multiplication, but includes only values on the last level of the tree; <BR id=beuy>
<BR id=mdst>
#stat_tree_max&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp; counts max value in a column;<BR id=r3vk>
#stat_tree_max_leaf &nbsp;&nbsp; -&nbsp;&nbsp;&nbsp; counts max value in a column, but includes only values on the last level of the tree; <BR id=bu35>
<BR id=ht3d>
#stat_tree_min &nbsp;&nbsp; -&nbsp;&nbsp;&nbsp; counts min value in a column;<BR id=ceu0>
#stat_tree_min_leaf &nbsp;&nbsp; -&nbsp;&nbsp;&nbsp; counts min value in a column, but includes only values on the last level of the tree; <BR id=sdb3>
<BR id=rl4x>
#stat_tree_average &nbsp;&nbsp; -&nbsp;&nbsp;&nbsp; counts average value in a column;<BR id=c9k7>
#stat_tree_average_leaf &nbsp;&nbsp; -&nbsp;&nbsp;&nbsp; counts average value in a column, but includes only values on the last level of the tree; <BR id=h98m>
<BR id=jvbk>
#stat_tree_count - counts a real count of items in the treeGrid;<BR id=j.is>
#stat_tree_count_leaf - counts a real count of items in the treeGrid, but includes only values on the last level of the tree. <BR id=pqa7>
<BR id=lwoa>
<BR id=rjue>
<BR id=idx_>

	<!--- CONTENT. Ends --->
	<div class="copyright" zid="223">&copy; DHTMLX, 2008</div>
</body>
</html>
